//
//  CGroupMemberMgr.h
//  wanzhaoIM
//
//  Created by liuyuantao on 15/5/25.
//  Copyright (c) 2015年 liuyuantao. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CGroupMemberModel;
@interface CGroupMemberMgr : NSObject


//插入单个成员
-(BOOL)insetGroupMember:(CGroupMemberModel *)groupMember;
//批量插入成员
-(BOOL)batchInsertGroupMember:(NSArray *)groupMemberList;
//删除成员
-(BOOL)delGroupMember:(CGroupMemberModel *)groupMember;
//加载成员
-(NSArray *)loadAllGroupMemberByGroupID:(NSString *)groupID;


-(CGroupMemberModel *)loadGroupMemberByUserID:(NSString *)userId groupId:(NSString *)groupId;

-(BOOL)delGroupMemberWithUserId:(NSString *)userId groupId:(NSString *)groupId;

- (BOOL)delAllGroupMembe;
//删除某一个组的所有成员
- (BOOL)delAllGroupMembeWithGroupId:(NSString *)groupId;
@end
